#ifndef LYRIC_H
#define LYRIC_H
#include<QtCore>

class Lyrics
{
public:
    explicit Lyrics(const QString &filaName);
    explicit Lyrics(const QString &str,QString splitter);
    QString getLyrics(qint64);
private:
    QString getLrcInfo(const QString &tag);
    void parseOriLyrics();
    QList<qint64> timeStamps;
    QStringList lyrics;
    QStringList lyricInfo;
    QStringList oriLyrics;
    QString artist;
    QString title;
    QString album;
    QString creator;
    int offset;
    int pos;
};

#endif // LYRIC_H
